Repository navigation
refactor: upgrade Actions to Node 24, split remaining 800+ line files, and add website/stable-topology tests - #98
Merged
Merged
Conversation
…ns to Node 24 releases
…, gizmo, route, and workbench files
… examples typecheck, and drop last as any
…ghten test/boundary guards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Four non-feature housekeeping pillars verified against
main:ae818033,832cd034,7c28d7e3):setup-workspace,ci.yml,deploy-website.yml, andpublish-packages.ymlto Node 24 releases (checkoutv7.0.1,setup-nodev7.2.0,pnpm/action-setupv6.1.1,upload-artifactv7.0.2,configure-pagesv6.0.0,upload-pages-artifactv5.0.0,deploy-pagesv5.0.1).version: 10.32.1fromsetup-workspace(single source of truth inpackage.json#packageManager).publish-packages.ymlvia a tempNPM_CONFIG_USERCONFIGstrictly to thePublish to npmstep so pre-publish steps emit zeroNODE_AUTH_TOKENstderr warnings undersetup-node@v7.ASTRO_TELEMETRY_DISABLED=1on websitebuildas well astypecheck.3429a576):packages/morph/src/contracts/validation.ts(885 → 127 lines),packages/polycss/src/api/controls/gizmoEngine.ts(801 → 194 lines),website/src/components/GalleryWorkbench/hooks/useRouteSync.ts(825 → 136 lines + purerouteCodec*.ts),website/src/components/BuilderWorkbench/components/BuilderScene.tsx(827 → 297 lines), andwebsite/src/components/GalleryWorkbench/GalleryWorkbench.tsx(910 → 342 lines) into 24 acyclic submodules. Zero package source files remain above 800 lines.as any(1325992d,7c28d7e3):as anyinpackages/*/srcandwebsite/src(VanillaScene.tsx:567).test:website(11 unit tests coveringrouteCodecand Builderterrainviawebsite/scripts/run-unit-tests.mjs), wiredwebsite/testsintocheck-boundaries.mjs, and wiredtest:website+typecheck:examplesintopnpm verify, CI, andAGENTS.md.stableTopologyUpdate.test.ts(lifting branch coverage onstableTopologyUpdate.ts48.3% → 75.4% andstableTriangleFrame.ts48.0% → 82.9%) and extendedpackages/morph/src/contracts/validation.test.tsleaf-tag scan across all 5 newvalidation/*.tsfiles.compat-hunter: 80/80 external models parsed clean with 0 throws/warnings (40 Poly Haven + 40 GitHub VOX, 1.66M polygons).saucerdynamic light motion confirmedscript0.38 ms/frame andlayout0.01 ms/frame (Document::recalcStyleaccounts for 92% of main-frame cost).Verification
pnpm verify(all guards, 8 package test suites,test:website,build:packages,typecheck,typecheck:website,typecheck:examples,check:ir,check:packs,bench:build,examples/*)pnpm test:coverage(8/8 packages)pnpm build:website(23 pages) +test:domformat-tools(2/2) +verify:domformat(304 models)pnpm bench:gate:lifecycle(13/13)pnpm bench:gate:civsmain(55/55 at 0 px on Chromium + Firefox, software backend)pnpm bench:gate:perfvsmain(9/9)morph/validation+ 535/535gizmoEnginechecks at 0 diffs +@layoutit/polycss-morph test:packagepass